package cn.shop.admin.entity.mainSiteAnnouncementModule;

import cn.shop.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * (MainSiteAnnouncement)表实体类
 *
 * @author 痴
 * @since 2022-05-18 23:40:27
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class MainSiteAnnouncement extends BaseEntity {

	private static final long serialVersionUID = -405689864649719190L;

	/**
	 * 标题
	 */
	private String title;

	/**
	 * 内容
	 */
	private String content;

	/**
	 * 更新时间
	 */
	@JsonIgnore(false)
	@TableField(fill = FieldFill.INSERT_UPDATE)
	private LocalDateTime updateTime;

}

